const Layout = () => import('@/layout/index.vue')

export default {
    path: '/personal_example',
    component: Layout,
    redirect: '/personal_example/index',
    name: 'personalExample',
    meta: {
        title: '个人资源库',
        icon: 'sidebar-breadcrumb'
    },
    children: [
        {
            path: 'index',
            name: 'personalExampleIndex',
            component: () => import('@/views/personal_example/index.vue'),
            meta: {
                title: '个人资源库',
                auth: ['personal.browse'],
                sidebar: false,
                breadcrumb: false,
                activeMenu: '/personal'
            }
        },
        {
            path: 'personal_upload',
            name: 'personalExampleUpload',
            component: () => import('@/views/personal_example/upload.vue'),
            meta: {
                title: '上传',
                sidebar: false,
                activeMenu: '/personal_example/upload'
            }
        },
        {
            path: 'personal_add',
            name: 'personalFileList',
            component: () => import('@/views/personal_example/add.vue'),
            meta: {
                title: '新建文件夹',
                sidebar: false,
                activeMenu: '/personal_example/add'
            }
        },
        {
            path: 'personal_edit',
            name: 'personalFileEdit',
            component: () => import('@/views/personal_example/edit.vue'),
            meta: {
                title: '编辑文件',
                sidebar: false,
                activeMenu: '/personal_example/edit'
            }
        },
        {
            path: 'personal_addArt',
            name: 'personalFileArt',
            component: () => import('@/views/personal_example/addArt.vue'),
            meta: {
                title: '编辑文件',
                sidebar: false,
                activeMenu: '/personal_example/addArt'
            }
        },
        {
            path: 'personal_share',
            name: 'personalShare',
            component: () => import('@/views/personal_example/share.vue'),
            meta: {
                title: '分享文件',
                sidebar: false,
                activeMenu: '/personal_example/share'
            }
        }
    ]
}
